package smlab.graphics
{
	/**
	 * 用CMY表示一个颜色
	 * @author Sean
	 * 
	 */	
	public class CMY_SM
	{
		/**
		* CYAN (0-100)
		*/		
		public var c:Number = 0;
		
		/**
		* MAGENTA (0-100)
		*/		
		public var m:Number = 0;
		
		/**
		* YELLOW (0-100)
		*/		
		public var y:Number = 0;
		
		/**
		 * 构造一个CMY颜色值
		 * @param cyan CYAN (0-100)
		 * @param magenta MAGENTA (0-100)
		 * @param yellow YELLOW (0-100)
		 */		
		public function CMY_SM(cyan : Number = 0 , magenta : Number = 0 , yellow : Number = 0){
			this.c = cyan;
			this.m = magenta;
			this.y = yellow;
		}
		
		public function toString():String{
			return [c,m,y].toString();
		}
	}
}